export const keepAliveViews: Array<{ cachePageCode: string; cacheType: number; routePageCodes: Array<string> }> = [
    {
        cachePageCode: 'CUSTOMER_MANAGE_LIST', // 客户列表      //  需要缓存的页面
        cacheType: 3, // 缓存类型  0  永远缓存    1  仅缓存从子路由跳转     2  仅缓存自定义页面跳转     3  缓存1+2的情况
        routePageCodes: ['SALESLEADS_SALESMANAGEMENT_BUSINESS_CREATE'] // 自定义需要跳转缓存的页面
    },
    {
        cachePageCode: 'CUSTOMER_MANAGE_RUNAWAY', // 流失客户
        cacheType: 3,
        routePageCodes: ['CUSTOMER_MANAGE_LIST_DETAIL']
    },
    {
        cachePageCode: 'CUSTOMER_MANAGE_BULLETIN', // 客户看板
        cacheType: 3,
        routePageCodes: ['CUSTOMER_MANAGE_LIST_DETAIL']
    },
    {
        cachePageCode: 'COMMON_SEA_CUSTOMER', // 客户管理 公海管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CUSTOMER_GROUPMANAGE_LIST', // 企微群管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'AUTO_PULL_GROUP', // 自动拉群
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'LABEL_LA_GROUP', // 标签拉群
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CUSTOMER_GROUP_MANAGE_UNLIMITEDPULL', // 无限拉群
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'LBS_PULL_GROUP', // LBS拉群
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CUSTOMER_GROUP_MANAGE_CROWD_MANAGE', // 人群包管理
        cacheType: 3,
        routePageCodes: ['CUSTOMER_MANAGE_LIST_DETAIL']
    },
    {
        cachePageCode: 'COMMON_SEA', // 线索公海 公海管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'DELET_RECORD', // 删人记录
        cacheType: 3,
        routePageCodes: ['CUSTOMER_MANAGE_LIST_DETAIL']
    },
    {
        cachePageCode: 'TIMEOUT_REPLAY', // 超时提醒
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'TASK_MANAGE', // 任务管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SALESLEADS_SALESMANAGEMENT_PRODUCT_MANAGEMENT', // 产品管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SALESLEADS_SALESMANAGEMENT_ORDER_MANAGEMENT', // 销售管理 订单管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SALESLEADS_SALESMANAGEMENT_BUSINESS', // 商机管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'STORE_MANAGE_LIST', // 店铺列表
        cacheType: 3,
        routePageCodes: ['ASYNC_TASK']
    },
    {
        cachePageCode: 'TRADING_ORDER_MANAGE', // 交易管理 订单管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SUBACCOUNT_MANAGEMENT', // 账号管理
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'QW_FRI_CRICLE', //企微朋友圈
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CONTENT_HIHG_MATERIAL_POSTER', // 海报中心
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CONTENT_HIHG_MATERIAL_VERBAL_TRICK', // 话术库
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CONTENT_HIHG_COLLECTION_TABLE', //收集表
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_DRAINAGE_CHANNEL_CODE', //渠道活码
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_DRAINAGE_GROUP_CODE', //群活码
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_STORE_CUSTOMERS', //门店获客
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_DRAINAGE_GROUP_FISSION', //群裂变
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_DRAINAGE_LUCKY_DRAW', //抽奖裂变
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_FISSION_FISSION_DRAINAGE', //裂变引流
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_RED_ENVELOPES', //红包拉新
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_FISSION_ENVELOPES_FISSION', //红包裂变
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_INTERACT_SIGN_IN', //签到活动
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'SMART_MARKETING_INTERACT_ORDER', //口令红包
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CUSTOMER_SOP', //客户SOP
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'CUSTOMER_BASE_SOP', //客户群SOP
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'FRIEND_CIRCLE_SOP', //朋友圈SOP
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'MARKETING_PLAN', //营销规则
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'MEMBER_MANAGE_LIST', //会员列表
        cacheType: 3,
        routePageCodes: []
    },
    {
        cachePageCode: 'MEMBER_POINT_ORDER_TRANSFORM', // 订单转换
        cacheType: 2,
        routePageCodes: ['MEMBER_MANAGE_LIST_DETAIL', 'CUSTOMER_MANAGE_LIST_DETAIL']
    }
];
